<?php

namespace core;

class RouteItem
{
    public $method;
    public $uri;
    public $cb;
    public $middleware;

    public function __construct(string $method, string $uri,  $cb, array $middleware) {
        $this->cb         = $cb;
        $this->uri        = $uri;
        $this->middleware = $middleware;
        $this->method     = $method;
    }
}
